package com.bangyu.monitor.modular.system.mapper;

import com.bangyu.monitor.modular.system.entity.StaticStandDisplayment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 静态标准挠度值 Mapper 接口
 * </p>
 *
 * @author stylefeng
 * @since 2018-12-07
 */
public interface StaticStandBendMapper extends BaseMapper<StaticStandDisplayment> {

    StaticStandDisplayment getByBeamNoAndDate(@Param("beamNo") String beamNo,@Param("year") String year,@Param("date") String date);

    StaticStandDisplayment getByLastDate(@Param("beamNo") String beamNo);

    void batchInsert(@Param("bends") List<StaticStandDisplayment> bends);

    void insert_(StaticStandDisplayment bend);

    List<StaticStandDisplayment> queryByBeamNo(@Param("beamNo") String beamNo);

}
